package com.pengcheng.taskapplication.mvp.view.activity;

import android.content.Intent;
import android.view.View;
import android.widget.TextView;

import com.pengcheng.taskapplication.R;
import com.pengcheng.taskapplication.contants.ConstantValue;
import com.pengcheng.taskapplication.rxbus.RxBus;
import com.pengcheng.taskapplication.rxbus.RxBusRoute;
import com.pengcheng.taskapplication.rxbus.RxEvent;

import butterknife.BindView;
import butterknife.OnClick;

public class BindBankSuccess extends BaseActivity {

    @BindView(R.id.tv_center_title)
    TextView tv_title;

    @Override
    protected int layoutResID() {
        return R.layout.activity_bind_card_success;
    }

    @Override
    protected void initData() {
        tv_title.setText("银行卡绑定");
    }

    @OnClick({R.id.img_back,R.id.ll_list})
    public void onViewClicked(View view) {
        Intent intent;
        switch (view.getId()) {
            case R.id.img_back:
                finish();
                break;
            case R.id.ll_list:
                //跳转到绑卡列表
                RxBus.getInstance().post(new RxEvent(RxBusRoute.unbind));
                this.finish();
                break;

        }
    }
}
